package com.example.demo.service;

import com.example.demo.repository.UserRepository;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: 申科
 * @Date:2025/9/1 10:01
 */
@Service
public class UserService {

    private UserRepository userRepo;

    public UserService(UserRepository userRepo){
        this.userRepo = userRepo;
    }

    public void doBusinessLogic(){
        userRepo.save();
        System.out.printf("处理用户业务逻辑...");
    }
}
